package com.zros.modules.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zros.modules.business.entity.Department;
import com.zros.modules.business.mapper.DepartmentMapper;
import com.zros.modules.business.service.IDepartmentService;
import com.zros.modules.business.vo.DepartmentVo;

/**
 * <p>
 * 科系表 服务实现类
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-04-20
 */
@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department> implements IDepartmentService 
{
	@Autowired
	private DepartmentMapper departmentMapper;
	
	@Override
	public Page<DepartmentVo> queryList( Page<DepartmentVo> page, Department department ) 
	{
		Page<DepartmentVo> pageDepartmentVo = departmentMapper.queryList(page, department);
		return pageDepartmentVo;
	}
	
}
